package com.xinjun.kingstar.presenter.setting;

import com.xinjun.kingstar.contract.setting.SettingContract;
import com.xinjun.kingstar.model.setting.SettingModel;

/**
 * Created by SC-02 on 2018/9/19.
 * 設置presenter 继承契约类的presenper
 */

public class SettingPresenter extends SettingContract.SettingPresenter{
    @Override
    protected SettingContract.ISettingModel getModel() {
        return   SettingModel.newInstance();
    }

    @Override
    public void onStart() {

    }
    /**
     * 实例化
     * @return 提供对象给外界
     */
    public static SettingPresenter newInstance() {
        return new SettingPresenter();
    }
}
